package _3静态内部类;

public class Outter {

	String name = "Outter.name";
	static String name2 = "Outter.name2";
	
	// 静态内部类
	public static class Inner
	{
		
		String name = "Inner.name";
		static String name2 = "Inner.name2";
		
		public void foo()
		{
			String name = "tmp.name";
			
			System.out.println(name);
			System.out.println(this.name);
			System.out.println(Inner.name2);
			
//			System.out.println(Outter.this.name); 报错
			System.out.println(Outter.name2);
			
		}
		
	}
}
